package com.example.mapper;

import com.example.pojo.LoginUser;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

@Mapper
@Repository
public interface LoginUserMapper {
    LoginUser userLogin(@Param("username") String username, @Param("password") String password);
    LoginUser queryUserByName(String username);
    void addUser(@Param("username") String username, @Param("password") String password);
}
